package com.wfw.feichat.common;

import lombok.Getter;

/**
 * @author: wfw
 * @date: 2019-05-21 16:27
 */
@Getter
public enum ResponseCode {
    OK(0, "OK"),
    ERROR(10000001, "ERROR"),
    INNER_ERROR(10000002, "INNER_ERROR"),//系统错误
    LACK_PARAM(10000003, "LACK_PARAM"),//缺少参数
    ;

    private Integer code;
    private String msg;

    ResponseCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
